IIdentifiableEqualityComparer<T>
Provides an equality comparer for objects that implementSyntax
Inheritance
Implements
Methods
Equals
Parameters
- x IIdentifiable<T>: The first object to compare.
- y IIdentifiable<T>: The second object to compare.
Returns
bool True if the objects are equal (including both being null), false otherwise.GetHashCode
Parameters
- obj IIdentifiable<T>: The object for which to get a hash code.
Returns
int A hash code for the specified object.Exceptions
[ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception): Thrown when obj is null.